package com.swsc.solarverse.dao.entity.forward;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.swsc.solarverse.dao.entity.base.BaseIntIdDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 *  汇流箱实时数据
 * </p>
 *
 * @author AutoGenerator
 * @since 2022-08-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("solar_forward_combiner_box_data")
public class ForwardCombinerBoxDataDO extends BaseIntIdDO {

    /**
     * 租户编号
     */
    @TableField("tenant_no")
    private Integer tenantNo;

    /**
     * 机构编号
     */
    @TableField("organ_no")
    private Integer organNo;

    /**
     * 设备id
     */
    @TableField("device_id")
    private Long deviceId;

    @TableField("device_name")
    private String deviceName;

    /**
     * 总电压
     */
    @TableField("total_voltage")
    private Double totalVoltage;

    /**
     * 温度
     */
    @TableField("i1")
    private Double i1;

    /**
     * 总辐射1
     */
    @TableField("i2")
    private Double i2;

    /**
     * 总辐射累计1
     */
    @TableField("i3")
    private Double i3;

    /**
     * 总辐射2
     */
    @TableField("i4")
    private Double i4;

    /**
     * 总累计辐射2
     */
    @TableField("i5")
    private Double i5;

    /**
     * 散射辐射
     */
    @TableField("i6")
    private Double i6;

    /**
     * 散射辐射累计
     */
    @TableField("i7")
    private Double i7;

    /**
     * 直接辐射
     */
    @TableField("i8")
    private Double i8;

    /**
     * 直接辐射累计
     */
    @TableField("i9")
    private Double i9;

    @TableField("i10")
    private Double i10;

    @TableField("i11")
    private Double i11;

    @TableField("i12")
    private Double i12;

    @TableField("i13")
    private Double i13;

    @TableField("i14")
    private Double i14;

    @TableField("i15")
    private Double i15;

    @TableField("i16")
    private Double i16;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 数据时间
     */
    @TableField("data_time")
    private LocalDateTime dataTime;

    public ForwardCombinerBoxDataDO() {
    }

    public ForwardCombinerBoxDataDO(Integer tenantNo, Integer organNo, Long deviceId, String deviceName, LocalDateTime dataTime, LocalDateTime createTime) {
        this.tenantNo = tenantNo;
        this.organNo = organNo;
        this.deviceId = deviceId;
        this.deviceName = deviceName;
        this.dataTime = dataTime;
        this.createTime = createTime;
    }
}
